/* 放index.html页面的样式 */
/* banner */
.banner {
	height: 500px;
	background-color: #f5f5f5;
}

.banner .wrapper {
	position: relative;
	height: 500px;
}

.banner .aside {
	position: absolute;
	top: 0;
	left: 0;
	width: 251px;
	height: 500px;
	background-color: rgba(0, 0, 0, .8);
	color: #fff;
}

.banner .aside li {
	height: 50px;
	line-height: 50px;
}

.banner .aside li:hover {
	background-color: #27ba9b;
}

.banner .aside a {
	position: relative;
	display: block;
	padding-left: 36px;
	padding-right: 19px;
	color: #fff;
}

.banner .aside a::after {
	position: absolute;
	top: 19px;
	right: 19px;
	content: '';
	width: 6px;
	height: 11px;
	background-image: url(../images/sprites.png);
	background-position: -80px -110px;

}

.banner .aside span {
	margin-left: 15px;
	font-size: 14px;
}

.prev,
.next {
	display: block;
	position: absolute;
	top: 228px;
	width: 45px;
	height: 44px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, .2);
	background-image: url(../images/sprites.png);
}

.prev {
	left: 260px;
	background-position: 12px -60px;
}

.next {
	right: 9px;
	background-position: -24px -60px;
}

.banner ol {
	position: absolute;
	top: 459px;
	left: 680px;
	width: 110px;
	height: 10px;
}

.banner ol li {
	float: left;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 15px;
	background-color: rgba(255, 255, 255, 0.4);
	cursor: pointer;
}

.banner ol li:last-child {
	margin-right: 0;
}

.banner .current {
	background-color: #ffffff;
}

/* 新鲜好物 */
.goods .hd {
	height: 114px;
	line-height: 114px;
}

.goods .hd h2 {
	float: left;
	font-size: 29px;
	font-weight: 400;
	height: 114px;
}

.goods .hd h2 span {
	margin-left: 34px;
	font-size: 16px;
	color: #999999;
}

.goods .hd a {
	float: right;
	color: #999999;
}

.goods .hd a::after {
	display: inline-block;
	content: '';
	width: 7px;
	height: 13px;
	margin-left: 13px;
	background-image: url(../images/sprites.png);
	background-position: 0 -109px;
	vertical-align: middle;
}

.goods .bd li {
	float: left;
	position: relative;
	width: 304px;
	height: 405px;
	background-color: #f0f9f4;
	margin-right: 8px;
	text-align: center;
}

.goods .bd li:nth-child(4n) {
	margin-right: 0;
}

.goods .bd img {
	width: 100%;
}

.goods .bd h3 {
	margin-top: 22px;
	font-size: 20px;
	font-weight: 400;
}

.goods .bd div {
	font-size: 17px;
	color: #9a2e1f;
}

.goods .bd span {
	margin-top: 19px;
	font-size: 23px;
	color: #9a2e1f;
}

.goods b {
	position: absolute;
	top: 18px;
	left: 17px;
	width: 28px;
	height: 51px;
	border: 1px solid #27ba9b;
	border-radius: 2px;
	font-size: 18px;
	color: #27ba9b;
	font-weight: normal;
	line-height: 24px;
}
/* 人气推荐 */
.popular .hd {
	height: 114px;
	line-height: 114px;
}

.popular .hd h2 {
	float: left;
	font-size: 29px;
	font-weight: 400;
	height: 114px;
}

.popular .hd h2 span {
	margin-left: 34px;
	font-size: 16px;
	color: #999999;
}

.popular .bd li {
	float: left;
	width: 304px;
	height: 405px;
	margin-right: 8px;
	text-align: center;
}

.popular .bd li:nth-child(4n) {
	margin-right: 0;
}

.popular .bd img {
	width: 100%;
}

.popular .bd h3 {
	margin-top: 22px;
	font-size: 21px;
	font-weight: 400;
}

.popular .bd span {
	margin-top: 19px;
	font-size: 16px;
	color: #999;
}

/* 热门品牌 */
.brand-goods {
	width: 100%;
	background-color: #f5f5f5;
}

.brand-goods .hd {
	height: 115px;
	line-height: 115px;
}

.brand-goods .hd h2 {
	float: left;
	font-size: 29px;
	font-weight: normal;
	height: 115px;
}

.brand-goods .hd span {
	margin-left: 35px;
	font-size: 16px;
	color: #999;
}

.brand-goods .hd .hd-right {
	position: relative;
	float: right;
	width: 52px;
	height: 20px;
	margin-top: 79px;
}

.brand-goods .hd .hd-right a {
	display: inline-block;
	float: left;
	width: 20px;
	height: 20px;
	background-color: #e2e2e2;
	transition: all .2s;
}

.brand-goods .hd .hd-right a:hover {
	background-color: #27ba9b;
}

.brand-goods .hd .hd-right a:first-child {
	margin-right: 12px;
}

.brand-goods .hd .hd-right a:first-child::after {
	position: absolute;
	top: 3px;
	left: 6px;
	content: '';
	width: 7px;
	height: 13px;
	background-image: url(../images/sprites.png);
	background-position: 0 -74px;
}
.brand-goods .hd .hd-right a:last-child::after {
	position: absolute;
	top: 3px;
	right: 6px;
	content: '';
	width: 7px;
	height: 13px;
	background-image: url(../images/sprites.png);
	background-position: -45px -74px;
}

.brand-goods .bd li {
	float: left;
	width: 244px;
	height: 313px;
	margin-right: 4px;
}

.brand-goods .bd li:last-child {
	margin-right: 0;
}

.brand-goods .bd img {
	height: 100%;
}

/* 生鲜 */
.fresh .hd {
	height: 96px;
	line-height: 96px;
}

.fresh .hd h2 {
	float: left;
	font-weight: normal;
	font-size: 29px;
	height: 96px;
}

.fresh .hd .more {
	float: right;
	color: #999999;
}

.fresh .hd .more::after {
	display: inline-block;
	content: '';
	width: 7px;
	height: 13px;
	margin-left: 13px;
	background-image: url(../images/sprites.png);
	background-position: 0 -109px;
	vertical-align: middle;
}

.fresh .hd ul {
	float: right;
	margin-right: 65px;
}

.fresh .hd li {
	float: left;
}

.fresh .hd li a {
	padding: 2px 7px;
	margin-left: 6px;
	height: 20px;
	color: #333;
}

.fresh .hd li a:hover {
	color: #fff;
	background-color: #27ba9b;
}

.bd-left,
.bd-right {
	float: left;
}

.bd-left  {
	width: 240px;
	height: 610px;
}

.bd-left img {
	width: 100%;
}

.bd-right {
	width: 1000px;
	height: 610px;
}

.bd-right li {
	position: relative;
	float: left;
	width: 242px;
	height: 304px;
	border: 2px solid transparent;
	box-sizing: border-box;
	margin-left: 8px;
	margin-bottom: 3px;
	overflow: hidden;
}

.bd-right .img-box {
	height: 204px;
	text-align: center;
}

.bd-right .img-box img {
	width: 184px;
	height: 184px;
	margin-top: 8px;
}

.bd-right .info {
	padding-left: 29px;
	padding-right: 47px;
	line-height: 1.2;
}

.bd-right .info h3 {
	font-size: 16px;
	font-weight: 400;
}

.bd-right .info .type {
	height: 28px;
}

.bd-right .info .price {
	color: #9a2e1f;
  font-size: 22px;
}

.xbd-right .price span {
  font-size: 17px;
}

.fresh .bd-right .find {
	position: absolute;
	left: 0;
	bottom: -84px;
	width: 242px;
	height: 84px;
	background-color: #27ba9b;
	line-height: 1;
	text-align: center;
	color: #fff;
	transition: bottom .3s;
}

.fresh .bd-right li:hover {
	border-color: #27ba9b;
}

.fresh .bd-right li:hover .find {
	bottom: 0;
}

.fresh .bd-right .find p:nth-child(1) {
	width: 125px;
	border-bottom: 1px solid #a9dbcc;
  padding-bottom: 7px;
  margin: 19px auto 0;
  text-align: center;
  font-size: 18px;
}

.fresh .bd-right .find p:nth-child(2) {
  margin-top: 8px;
  font-size: 13px;
}

.topics {
	height: 512px;
  margin-top: 53px;
  background-color: #f5f5f5;
}

.topics .wrapper {
	height: 512px;
}

.topics .hd {
	height: 115px;
	line-height: 115px;
}

.topics .hd h2 {
	float: left;
	font-size: 29px;
	font-weight: normal;
}

.topics .hd a {
	float: right;
	color: #999;
}

.topics .hd a::after {
	display: inline-block;
	content: '';
	width: 7px;
	height: 13px;
	margin-left: 13px;
	background-image: url(../images/sprites.png);
	background-position: 0 -109px;
	vertical-align: middle;
}

.topics .bd li {
	float: left;
	width: 404px;
  height: 356px;
  margin-right: 13px;
  background-color: #fff;
}

.topics .bd li:last-child {
  margin-right: 0;
}

.topics li:nth-child(1) .box {
  position: relative;
  height: 288px;
  background: url('../uploads/topic_goods_1.jpg');
  background-size: 100% 100%;
}

.topics li:nth-child(2) .box {
  position: relative;
  height: 288px;
  background: url('../uploads/topic_goods_2.jpg');
  background-size: 100% 100%;
}

.topics li:nth-child(3) .box {
  position: relative;
  height: 288px;
  background: url('../uploads/topic_goods_3.jpg');
  background-size: 100% 100%;
}

.topics .bd .box::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient( to top,rgba(0,0,0,.8) , transparent 50%);
}

.topics ul .info {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 67px;
  padding-left: 14px;
  box-sizing: border-box;
}

.topics .info h3 {
  height: 33px;
  color: #fff;
  font-weight: 400;
}

.topics .info .type {
  color: #999999;
}

.topics .info .price {
  position: absolute;
  top: 12px;
  left: 302px;
  width: 81px;
  height: 27px;
  background-color: #fff;
  text-align: center;
  line-height: 27px;
  color: #9a2e1f;
}

.topics .social {
  height: 67px;
  font-size: 14px;
  line-height: 67px;
}

.topics .social span:nth-child(1) {
  margin-left: 17px;
}

.topics .social span:nth-child(2) {
  margin-left: 24px;
}

.topics .social span:nth-child(3) {
  float: right;
  margin-right: 18px;
}

.topics .social span::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('../images/sprites.png');
  vertical-align: middle;
}

.topics .social span:nth-child(1)::before {
  background-position: -119px -109px;
}

.topics .social span:nth-child(2)::before {
  background-position: -159px -109px;
}

.topics .social span:nth-child(3)::before {
  background-position: -199px -109px;
}